package com.oya.worktalk.dto;

public class Article {
	private int articleId;
	private int writerId;
	private String deviceId;
	private String title;
	private String content;
	private long createDate;
	private long modifyDate;
	private long deleteDate;
	
	
	public Article(int articleId, int writerId, String deviceId, String title,
			String content, long createDate, long modifyDate, long deleteDate) {
		super();
		this.articleId = articleId;
		this.deviceId = deviceId;
		this.writerId = writerId;
		this.title = title;
		this.content = content;
		this.createDate = createDate;
		this.modifyDate = modifyDate;
		this.deleteDate = deleteDate;
	}
	public int getArticleId() {
		return articleId;
	}
	public void setArticleId(int articleId) {
		this.articleId = articleId;
	}
	public int getWriterId() {
		return writerId;
	}
	public void setWriterId(int writerId) {
		this.writerId = writerId;
	}
	public String getDeviceId() {
		return deviceId;
	}
	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public long getCreateDate() {
		return createDate;
	}
	public void setCreateDate(long createDate) {
		this.createDate = createDate;
	}
	public long getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(long modifyDate) {
		this.modifyDate = modifyDate;
	}
	public long getDeleteDate() {
		return deleteDate;
	}
	public void setDeleteDate(long deleteDate) {
		this.deleteDate = deleteDate;
	}
	@Override
	public String toString() {
		return "Article [articleId=" + articleId + ", writerId=" + writerId
				+ ", deviceId=" + deviceId + ", title=" + title + ", content="
				+ content + ", createDate=" + createDate + ", modifyDate="
				+ modifyDate + ", deleteDate=" + deleteDate + "]";
	}
	
}
